﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using blackhouse.UI;

namespace blackhouse.Web.UI
{
    public class WebPageCounterAdapter : blackhouse.UI.PageCounter
    {

        #region Fields

        PageCounterControl control;

        #endregion

        #region

        public WebPageCounterAdapter(PageCounterControl control)
        {
            this.control = control;
        }

        #endregion

        #region PageCounter Members

        protected override void SetNodes(IEnumerable<PageCounterNode> nodes)
        {
            this.control.SetNodes(nodes);
        }

        #endregion

    }
}